package com.iwop.moto.service.impl;

import com.iwop.moto.dao.MCouponConfigDao;
import com.iwop.moto.model.MCouponConfig;
import com.iwop.moto.service.MCouponConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author czq
 * @version 1.0
 * @created 2017/3/8 0008.
 */
@Service
public class MCouponConfigServiceImpl implements MCouponConfigService {
    @Autowired
    MCouponConfigDao mCouponConfigDao;

    @Override
    public MCouponConfig getConfigByClientType(MCouponConfig mCouponConfig) {
        MCouponConfig scheme = mCouponConfigDao.getConfigByClientType(mCouponConfig);
        return scheme;
    }
}
